package com.hliushi.movie.entity.enums;

/**
 * @author llhuang10
 * @date 2021/10/13 17:50
 */
public enum MovieSortEnum {

    IDDesc(1, "入库时间从新降序"),
    TuiScore(2, "推评分从高到低"),
    CollectTimes(3, "喜欢数从高到低"),
    MovieTime(4, "上映时间从新降序");

    private Integer val;
    private String sortType;

    MovieSortEnum(Integer val, String sortType) {
        this.val = val;
        this.sortType = sortType;
    }

    public Integer value() {
        return this.val;
    }


    public String sortType() {
        return this.sortType;
    }
}
